<!DOCTYPE html>
<html>
<head>
    <title></title>
    #parse("sys/header.html")
</head>
<body>
<div id="rrapp" v-cloak>
    <div v-show="showList">
        <template>
            <Tabs active-key="key1" type="line" animated="true">
                <Tab-pane label="数据统计" key="key1">
                    <Row :gutter="16">
                        <div class="search-group">
                            <i-col span="4" style="padding-left: 65px; width: 45%">
                                <Date-picker type="datetimerange" v-model="q.datetime" editable="false"   format="yyyy-MM-dd HH:mm:ss"  placeholder="查询起止时间" style="width: 600px"  />
                            </i-col>
                            <i-button @click="queryStatistics">查询</i-button>
                        </div>
                    </Row>
                    <i-form :model="dataStatistics"  :label-width="130">
                        <Form-item label="用户总数" prop="totalUser" style="width: 50%; float: right">
                            <i-input v-model="dataStatistics.totalUser" placeholder="用户总数" readonly="true" />
                        </Form-item>
                        <Form-item label="交易完成量" prop="jiaoyiwanchengliang" style="width: 50%; float: left">
                            <i-input v-model="dataStatistics.jiaoyiwanchengliang" placeholder="交易完成量" readonly="true"/>
                        </Form-item>
                        <Form-item label="今日新增用户" prop="jiaoyiwanchengliang" style="width: 50%; float: right">
                            <i-input v-model="dataStatistics.todayAddUser" placeholder="今日新增人数" readonly="true"/>
                        </Form-item>
                        <Form-item label="手续费收益" prop="jiaoyiwanchengliang" style="width: 50%; float: left">
                            <i-input v-model="dataStatistics.shouxufei" placeholder="手续费收益"  readonly="true"/>
                        </Form-item>
                        <Form-item label="今日活跃用户" prop="todayActiveUser" style="width: 50%;float: right">
                            <i-input v-model="dataStatistics.todayActiveUser" placeholder="今日活跃用户"  readonly="true"/>
                        </Form-item>
                        <Form-item label="上级挖矿量" prop="shangjiwakuangliang" style="width: 50%;float: left">
                            <i-input v-model="dataStatistics.shangjiwakuangliang" placeholder="上级挖矿量" readonly="true"/>
                        </Form-item>
                        <Form-item label="DSPC总数" prop="totalDspc" style="width: 50%; float: right">
                            <i-input v-model="dataStatistics.totalDspc" placeholder="DSPC总数" readonly="true"/>
                        </Form-item>
                        <Form-item label="DSPC兑换量" prop="dspcduihuanliang" style="width: 50%;float: left">
                            <i-input v-model="dataStatistics.dspcduihuanliang" placeholder="DSPC兑换量"  readonly="true"/>
                        </Form-item>
                        <Form-item label="今日DSPC交易量" prop="todayDspcTotal" style="width: 50%; float: right">
                            <i-input v-model="dataStatistics.todayDspcTotal" placeholder="今日DSPC交易量"  readonly="true"/>
                        </Form-item>
                        <Form-item label="卖出DSPC量" prop="dspcchushouliang" style="width: 50%; float: left;">
                            <i-input v-model="dataStatistics.dspcchushouliang" placeholder="卖出DSPC量"  readonly="true"/>
                        </Form-item>
                        <Form-item label="卖单量" prop="choushoudan" style="width: 50%; float: right">
                            <i-input v-model="dataStatistics.choushoudan" placeholder="卖单量"  readonly="true"/>
                        </Form-item>
                        <Form-item label="买单量" prop="goumaidan" style="width: 50%; float: right">
                            <i-input v-model="dataStatistics.goumaidan" placeholder="买单量"  readonly="true"/>
                        </Form-item>

                    </i-form>
                </Tab-pane>

                <Tab-pane label="DSPC排名" key="key2">
                    <Row :gutter="16">
                        <div class="search-group">
                            <i-col span="4" style="padding-left: 158px; width: 50%">
                                <i-input v-model="q.count" @on-enter="query" placeholder="请输入需要查询的DSPC人员数量"/>
                            </i-col>
                            <i-button @click="query">查询</i-button>
                        </div>
                    </Row>
                    <table id="jqGrid"></table>
                </Tab-pane>
                <Tab-pane label="财务信息" key="key3">
                    <i-form :model="queryFinanceMes"  :label-width="130">
                        <Form-item label="手续费量" prop="serviceCharge" >
                            <i-input v-model="queryFinanceMes.serviceCharge" placeholder="手续费量" readonly="true" />
                        </Form-item>
                        <Form-item label="拨出上级挖矿量" prop="parentCount" >
                            <i-input v-model="queryFinanceMes.parentCount" placeholder="拨出上级挖矿量" readonly="true"/>
                        </Form-item>
                        <Form-item label="提币量" prop="getDspcCount" >
                            <i-input v-model="queryFinanceMes.getDspcCount" placeholder="提币量" readonly="true" />
                        </Form-item>
                        <Form-item label="平台收益量" prop="platformProfit" >
                            <i-input v-model="queryFinanceMes.platformProfit" placeholder="平台收益量" readonly="true"/>
                        </Form-item>
                    </i-form>
                </Tab-pane>
            </Tabs>

        </template>
    </div>
</div>

<script src="${rc.contextPath}/js/shop/datastatistics.js?_${date.systemTime}"></script>
</body>
</html>